package com.qk.service;

import com.qk.common.PageResult;
import com.qk.entity.Course;
import com.qk.entity.Dept;

import java.util.List;

public interface CourseService {
    void add(Course course);

    void deleteById(Integer id);

    void update(Course  course);

    Course getById(Integer id);

    PageResult<Course> list(String name, Integer subject, Integer price, Integer target, String description, Integer page, Integer pageSize);

    List<Course> selectAll();

    List<Course> listBySubject(Integer subject);
}
